-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Banner #314
Improve Banner #314
Conversation
Am I correct in my reading of this that it doesn't do anything to support different types of scores as requested by #313 and instead is just about displaying the current scoring mechanism in a few different ways? Just checking so we know to be sure to keep #313 open if we merge this PR. The mention of a "banner" also reminds me that we should probably do a better job describing what the banner is in the documentation. A labeled screenshot might be nice. The
I recognize this would break some existing configs using |
Correct, this PR isn't linked to/doesn't close #313 as it does not propose a solution for that issue, just cleans up general banner behavior. I believe we should create a separate PR to deal with #313 once we decide on a more formal design for scoring. I agree that adding a screenshot to document the banner is a good idea. This screen shot should probably include labels of the time, progress, and score fields. We use the I do think it is a good idea to move all of our config fields to names that start with |
Cool, your reasoning makes sense. Let's just switch to |
I just tried to run this PR on my experiment config that works with |
@jspjutNV can you provide the exception message and your config file to review? This exception seems odd since nothing in this branch should impact the logger at all... |
Repeating my comment from #319 since it's probably the same bug I'm hitting.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only unexpected thing here was the change in getScore()
to 100*
, but @bboudaoud-nv explained that it was merging two different *10
before it was displayed.
This branch updates the banner to improve configuration and view. Notably it adds:
bannerShowTime
,bannerShowProgress
, andbannerShowScore
configuration fields to allow elements to be individually enabledbannerShowTime
now supports"elapsed"
and"remaining"
modes (as well as"none"
for disable)k
,M
,B
suffixes)---
as time when this value is greater than 10k secondstrialTask
state)These changes are related to the changes requested in #313.